package grsu.epam.airline.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class EmployeeModifyForm extends ActionForm {
	private static final long serialVersionUID = 1L;
	private int flightCrewId;
	private int employeeId;
	private int specialityId;
	private String name;
	private String surname;

	public EmployeeModifyForm() {
		super();
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;

	}

	public String getSurname() {
		return this.surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;

	}

	public int getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(int employeeId) {
		this.employeeId = employeeId;
	}

	public int getSpecialityId() {
		return specialityId;
	}

	public void setSpecialityId(int specialityId) {
		this.specialityId = specialityId;
	}

	public int getFlightCrewId() {
		return flightCrewId;
	}

	public void setFlightCrewId(int flightCrewId) {
		this.flightCrewId = flightCrewId;
	}

	@Override
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		flightCrewId = 0;
		employeeId = 0;
		specialityId = 0;
		name = null;
		surname = null;
		super.reset(mapping, request);
	}

}
